package com.loong.web.gp4j.bean.param.messages;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 消息参数
 *
 * @author 张成轩
 */
public class MessageParam {

	private String title;
	private String content;

	/**
	 * @return 标题
	 */
	@NotBlank(message = "标题不能为空")
	public String getTitle() {

		return title;
	}

	/**
	 * @param title 标题
	 */
	public void setTitle(String title) {

		this.title = title;
	}

	/**
	 * @return 正文
	 */
	@NotBlank(message = "正文不能为空")
	public String getContent() {

		return content;
	}

	/**
	 * @param content 正文
	 */
	public void setContent(String content) {

		this.content = content;
	}
}
